﻿using DFGK_WMS.Model.Wcs;
using System;
using System.Collections.Generic;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK.IService.WCS
{
    public interface IWCSService
    {
        /// <summary>
        /// 任务入库申请接口 
        /// </summary>
        /// <param name="taskInRequest"></param>
        /// <param name="Msg"></param>
        /// <returns></returns>
        bool GetTaskByPallet(TaskInRequest taskInRequest,out string Msg);

        /// <summary>
        /// 任务状态上报 
        /// </summary>
        /// <param name="Msg"></param>
        /// <param name="reportTaskData"></param>
        /// <returns></returns>
        bool ReportTask(ReportTaskData reportTaskData, out string Msg);

        /// <summary>
        /// 任务取消接口
        /// </summary>
        /// <param name="palletCode"></param>
        /// <param name="InOutStorage"></param>
        /// <returns></returns>
        bool CancelTaskApi(string palletCode, out string message);
    }
}
